package com.xqboss.apps.domain.consumer;

import com.baomidou.mybatisplus.annotation.TableId;
import com.xqboss.apps.domain.BaseTable;
import com.xqboss.apps.enums.consumer.ConsumerTeamUpgradePlanTypeEnum;
import com.xqboss.common.annotation.PercentFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Id;
import java.math.BigDecimal;


/**
 * 队伍升级方案(ConsumerTeamUpgradePlan)表实体类
 *
 * @author makejava
 * @since 2023-12-15 14:27:09
 */
@Data
@ApiModel("队伍升级方案")
public class ConsumerTeamUpgradePlan extends BaseTable {

    private static final long serialVersionUID = 1L;

    @TableId
    @Id
    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("是否支持材料/普通升级（1-是）")
    private Integer isOpen;

    @ApiModelProperty("藏品id（材料升级具有该属性）")
    private Long nftId;

    @ApiModelProperty("消耗")
    private Integer consume;

    @ApiModelProperty("系数")
    private BigDecimal factor;

    @ApiModelProperty("消耗类型")
    private ConsumerTeamUpgradePlanTypeEnum type;
}

